package org.example.completed.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.completed.domain.Post;
import org.example.completed.model.dto.PostAndAvatarDTO;

import java.util.List;

/**
 * <p>
 * 帖子表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2025-04-15
 */
public interface PostService extends IService<Post> {

    PostAndAvatarDTO getPostsByUserId(String userId);

    boolean addPost(Post post);
}
